Returns the index of the specified item in the collection.
Parameters
- item
- The item whose index will be returned.
Return Value
The index of the item if the item exists in the collection, -1 otherwise.
Target Platforms: Android 4.4+, iOS 8+
Development Environments: Visual Studio 2015+, Visual Studio for Mac Preview, Xamarin for Visual Studio 4.2+